]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Set style classes for extension download dialog
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 10 Nov 2014 15:09:09 +0000 (10:09 -0500)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 10 Nov 2014 23:58:12 +0000 (18:58 -0500)
So that the layout is correct.

https://bugzilla.gnome.org/show_bug.cgi?id=739888

js/ui/extensionDownloader.js

index 8a348219beaad20bab4763ac7e409a1441071877..6102eb15c644f7d9d886de1ba7c308e10c1b30f3 100644 (file)
@@ -203,14 +203,16 @@ const InstallExtensionDialog = new Lang.Class({
 
         let message = _("Download and install ā€œ%sā€ from extensions.gnome.org?").format(info.name);
 
-        let box = new St.BoxLayout();
+        let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout',
+                                     vertical: false });
         this.contentLayout.add(box);
 
         let gicon = new Gio.FileIcon({ file: Gio.File.new_for_uri(REPOSITORY_URL_BASE + info.icon) })
         let icon = new St.Icon({ gicon: gicon });
         box.add(icon);
 
-        let label = new St.Label({ text: message });
+        let label = new St.Label({ style_class: 'prompt-dialog-headline',
+                                   text: message });
         box.add(label);
     },